using DeZhen.CollaborationPlatform.Model.Common;
using DeZhen.CollaborationPlatform.Model.DTO.ApiManagement;

namespace DeZhen.CollaborationPlatform.IService.ApiManagement
{
    public interface IApiManagementService
    {
        Task<PageResult<ApiManagementDTO>> GetListToPageAsync(QueryApiManagementPage param);
        Task<List<ApiManagementDTO>> GetListAsync(QueryApiManagement param);
        Task<ApiManagementDTO> GetByIdAsync(long id);
        Task<long> AddAsync(ApiManagementAdd input);
        Task<bool> UpdateAsync(ApiManagementEdit input);
        Task DeleteAsync(long id);
    }
} 
 